package com.kaili.basic.pojo.entity;

import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * Created by xxx on 2019-03-07.
 */
@Data
@TableName("wms_outbound_return_product")
@ApiModel(description = "出库退货产品表（出库退货子表）")
public class OutboundReturnProduct {
    @ApiModelProperty(name = "id", value = "主键id")
    private Long id;

    @ApiModelProperty(name = "returnId", value = "出库退货表主键id")
    private Long returnId;

    @ApiModelProperty(name = "outProductId", value = "出库产品表主键id")
    private Long outProductId;

    @ApiModelProperty(name = "returnOrder", value = "顺序")
    private Integer returnOrder;

    @ApiModelProperty(name = "productId", value = "产品id")
    private Long productId;

    @ApiModelProperty(name = "productCode", value = "产品编号")
    private String productCode;

    @ApiModelProperty(name = "productName", value = "产品名称")
    private String productName;

    @ApiModelProperty(name = "quantity", value = "数量")
    private Integer quantity;

    @ApiModelProperty(name = "weight", value = "重量")
    private Double weight;

    @ApiModelProperty(name = "volume", value = "体积")
    private Double volume;

    @ApiModelProperty(name = "format", value = "规格")
    private String format;

    @ApiModelProperty(name = "unit", value = "单位")
    private String unit;

    @ApiModelProperty(name = "unitPrice", value = "单价")
    private Double unitPrice;

    @ApiModelProperty(name = "totalMoney", value = "总金额")
    private Double totalMoney;

    @ApiModelProperty(name = "orderStatus", value = "订单状态 1 创建订单 2 订单确认 3 订单取消")
    private Integer orderStatus;

    @ApiModelProperty(name = "preFinishTime", value = "预完成时间")
    private Date preFinishTime;

    @ApiModelProperty(name = "finishTime", value = "完成时间")
    private Date finishTime;

    @ApiModelProperty(name = "createBy", value = "创建人")
    private Long createBy;

    @ApiModelProperty(name = "createTime", value = "创建日期")
    private Date createTime;

    @ApiModelProperty(name = "modifyBy", value = "最后修改人")
    private Long modifyBy;

    @ApiModelProperty(name = "modifyTime", value = "最后修改时间")
    private Date modifyTime;

    @ApiModelProperty(name = "rdStatus", value = "数据状态 0删除 1正常")
    private Integer rdStatus;

    @ApiModelProperty(name = "orderStatusName", value = "订单状态名称")
    private String orderStatusName;

    @ApiModelProperty(name = "mainSonFlag", value = "主表和子表的标志 1 主表 2 子表")
    private Integer mainSonFlag;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getReturnId() {
        return returnId;
    }

    public void setReturnId(Long returnId) {
        this.returnId = returnId;
    }

    public Long getOutProductId() {
        return outProductId;
    }

    public void setOutProductId(Long outProductId) {
        this.outProductId = outProductId;
    }

    public Integer getReturnOrder() {
        return returnOrder;
    }

    public void setReturnOrder(Integer returnOrder) {
        this.returnOrder = returnOrder;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public Double getVolume() {
        return volume;
    }

    public void setVolume(Double volume) {
        this.volume = volume;
    }

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Double getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(Double unitPrice) {
        this.unitPrice = unitPrice;
    }

    public Double getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(Double totalMoney) {
        this.totalMoney = totalMoney;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Date getPreFinishTime() {
        return preFinishTime;
    }

    public void setPreFinishTime(Date preFinishTime) {
        this.preFinishTime = preFinishTime;
    }

    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(Long modifyBy) {
        this.modifyBy = modifyBy;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getRdStatus() {
        return rdStatus;
    }

    public void setRdStatus(Integer rdStatus) {
        this.rdStatus = rdStatus;
    }

    public String getOrderStatusName() {
        return orderStatusName;
    }

    public void setOrderStatusName(String orderStatusName) {
        this.orderStatusName = orderStatusName;
    }

    public Integer getMainSonFlag() {
        return mainSonFlag;
    }

    public void setMainSonFlag(Integer mainSonFlag) {
        this.mainSonFlag = mainSonFlag;
    }
}
